#ifndef DCMWATCHSERVICE_H
#define DCMWATCHSERVICE_H

#include <QCoreApplication>
#include "qtservice.h"
class DcmWatcher;

class DcmWatchService :public QtService<QCoreApplication>
{
public:
    DcmWatchService(int argc, char **argv);

protected:
    void start();
    void stop();
    void pause();
    void resume();
    void processCommand(int code);

private:
    DcmWatcher *w;
};

#endif // DCMWATCHSERVICE_H
